package rs.dalao.syc.index.service;

import rs.dalao.syc.index.pojo.vo.EncContentSearchVO;

import java.util.List;

public interface IEncContentSearchService {


    //查询到所有的文章相关信息存入Elasticsearch数据库
    List<EncContentSearchVO> saveAll();

    //从Elasticsearch中根据name,content,brief,title查询对应的内容
    List<EncContentSearchVO> customQuery(String title);

}
